package com.me.bbs.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Liming Wang
 * @Description
 * @Create 2023/1/14 13:00
 */
@Data
public class SubCommentDTO {
    private Long commentId;

    private UserDTO author;

    private Long post;

    @ApiModelProperty("0:父评论，1：子评论，2：回复子评论")
    private Byte type;

    private Long parentComment;

    private Long replyToSub;
    private Boolean isLike;
    private Long forum;
    private Integer likeCount;
    private String content;
    private LocalDateTime createAt;
}
